
import time


class Base():
    def __init__(self,driver):
        self.driver = driver

    def get_url(self,url):
        self.driver.get(url)

    def find_ele(self, loc):
        return self.driver.find_element(*loc)
    def quit_driver(self):
        self.driver.quit()